Learn R Programming

jiebaR (version 0.6)

: Quick mode symbol

Description

Quick mode symbol to do segmentation, keyword extraction and speech tagging. This symbol will initialize a quick_worker when it is first called, and will do segmentation or other types of work immediately.

Usage

## S3 method for class 'qseg':

Arguments

qseg
a qseg object
code
a string

format

qseg an environment

Details

You can reset the default model setting by $, and it will change the default setting the next time you use quick mode. If you only want to change the parameter temporarily, you can reset the settings of quick_worker$. get_qsegmodel, set_qsegmodel, and reset_qsegmodel are also available for setting quick mode settings.

See Also

set_qsegmodel worker

Examples

Run this code
qseg <= "This is test"
qseg <= "This is the second test"

qseg <= "This is test"
qseg$detect = T
qseg
get_qsegmodel()

Run the code above in your browser using DataLab